package com.top10.service.impl;

import com.top10.entity.GoodsDetailed;
import com.top10.entity.vo.GoodsDetailedVo;
import com.top10.mapper.GoodsDetailedMapper;
import com.top10.service.IGoodsDetailedService;
import com.baomidou.mybatisplus.service.impl.ServiceImpl;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;
import java.util.Map;

/**
 * <p>
 *  服务实现类
 * </p>
 *
 * @author su
 * @since 2018-09-30
 */
@Service
public class GoodsDetailedServiceImpl extends ServiceImpl<GoodsDetailedMapper, GoodsDetailed> implements IGoodsDetailedService {

    @Autowired
    public GoodsDetailedMapper goodsDetailedMapper;


    @Override
    public List<Map<String, Object>> selectSpecialGoodsDetailById(String goodsuuid) {
        return goodsDetailedMapper.selectSpecialGoodsDetailById(goodsuuid);
    }

    @Override
    public List<Map<String, Object>> selectGoodsDetailById(String goodsuuid) {
        return goodsDetailedMapper.selectGoodsDetailById(goodsuuid);
    }
}
